<template>
    <f7-page>
      <f7-navbar>
        <f7-nav-left>
          <f7-link back>返回</f7-link>
        </f7-nav-left>
        <f7-nav-title>APP详情</f7-nav-title>
        <f7-nav-right>
          <f7-link @click="save">保存</f7-link>
        </f7-nav-right>
      </f7-navbar>

      <f7-list>
        <f7-list-input label="APP名称" type="text" :value="models.model.appName" @input="models.model.appName = $event.target.value"></f7-list-input>
        <f7-list-input label="APP编码" type="text" :value="models.model.appCode" readonly></f7-list-input>
        <f7-list-input label="APP包名" type="text" :value="models.model.packageName" @input="models.model.packageName = $event.target.value"></f7-list-input>
        <f7-list-input label="关键字" type="text" :value="models.model.keyword" @input="models.model.keyword = $event.target.value"></f7-list-input>
        <f7-list-input type="textarea" :value="models.model.publicMemo" label="备注" @input="models.model.publicMemo = $event.target.value"></f7-list-input>
      </f7-list>

    </f7-page>
</template>

<script>
import Controller from '@/libs/framework/controller';
export default class Detail extends Controller {
  onBeforeInit() {
    this.urls = {
      model: '/api/app/mobileApp/getModel',
      save: '/api/app/mobileApp/save'
    };
  }

  onBeforeSave(postModel) {
    return true;
  }

  mixin() {
    return {
      data() {
        return {};
      },
      computed: {

      },
      methods: {

      },

    };
  }

}
</script>

<style>

</style>
